#include <iostream>
#include <string>



int main()
{
	std::cout << "nermucel tox: ";
	std::string s;
	getline(std::cin,s);
	int zro = 0;
	int mek = 0;
	for(int i =0;i<s.length();++i)
	{
		if(s[i]=='0')
		{
			++zro;
		}
		if(s[i]=='1')
		{
			++mek;
		}
	}
	std::cout << "0 -neri qanak@: " << zro << "\n";
	std::cout << "1-eri qanak@: " << mek << "\n";
	return 0;
}